DeclInfo cast-helper

About Monkey 2 Forums Monkey 2 Programming Help DeclInfo cast-helper

This topic contains 0 replies, has 1 voice, and was last updated by  nerobot 2 years, 5 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #4608

    nerobot
    Participant

    Getting variable value, to simplify casting we can use extension like this:

    Using it we can replace

    with

    It will be nice to use simple ‘Get<T>’ method name, but there is compiler error

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.