Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Convert type assertion expressions to NSExpression #11004

Closed

Description

@1ec5

The NSExpression-based property value implementation in #10726 should be able to express the type assertion operators defined in the style specification:

The coercion operators corresponding to these operators (literal, to-boolean, to-number, and to-string) have already been implemented.

Additionally, typeof needs to be implemented.

Activity

  1. added
    GL JS parity
    iOS
    macOS
    on Jan 24, 2018
  2. added this to the milestone on Jan 24, 2018
  3. 1ec5 commented on Apr 17, 2018

    @1ec5
    ContributorAuthor

    All these operators can now be expressed by the last-ditch MGL_FUNCTION function. In practice, there should be little need for iOS and macOS developers to explicitly use these operators, compared to more ergonomic, built-in CAST operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GL JS parityiOSmacOSruntime styling

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions