Function isNameAndNamespace

  • Checks whether the given value is a name+namespace tuple.

    Parameters

    • value: unknown

      A value to check.

    Returns value is NameAndNamespace

    true if the given value is an array consisting of exactly two elements, where the first element is a non-empty string, and the second element is an instance of NamespaceDef. Or false otherwise.

Generated using TypeDoc