Skip to content

Commit

Permalink
RegistryEntry
Browse files Browse the repository at this point in the history
- Added `getType()`
  • Loading branch information
deavmi committed Nov 5, 2024
1 parent 73f6be9 commit d91fdcd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions source/niknaks/config.d
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,18 @@ public struct RegistryEntry
{
return this.val;
}

/**
* Returns the configugration
* entry's type
*
* See_Also: `ConfigEntry.getType()`
* Returns: a `ConfigType`
*/
public ConfigType getType()
{
return getEntry().getType();
}
}

/**
Expand Down

0 comments on commit d91fdcd

Please sign in to comment.