Function getType

  • Get the target type

    Type Parameters

    • T = any

    Parameters

    • target: T

      target

    Returns
        | "string"
        | "number"
        | "bigint"
        | "boolean"
        | "symbol"
        | "undefined"
        | "object"
        | "function"
        | "window"
        | "error"
        | "promise"
        | "math"
        | "document"
        | "navigator"
        | "global"
        | "array"
        | "null"
        | "date"
        | "regexp"

    type

    1.0.2