Function isMacAddress

  • Check whether a string is a mac address or not

    Parameters

    • s: string

      A string

    Returns boolean

    true if a string is a mac address