Contracts-TS Documentation
    Preparing search index...

    Function hasFunctions

    • Check if given value has defined properties Note: if the value is present is required to have all the functions defined

      Parameters

      • value: unknown

        the value to check

      • ...propertyNames: (string | symbol)[]

        the property names to check

      Returns value is UnknownFunction

      true if property is defined