Noticed this and after discussion, made a quick fix to make it match ashref, which was already case insensitive.
r20567
testcase:
r20567
testcase:
Code:
> ashref DARK
boolean is_dark_mode( )
> jsref DARK
boolean isDarkMode()