@webdeveric/utils
    Preparing search index...

    Function getType

    • Get the internal [[Class]] type of input, e.g. 'String', 'Array', 'Null'.

      Parameters

      • input: unknown

      Returns string

      getType([]); // 'Array'
      getType(null); // 'Null'