# woo_any_type **Repository Path**: oshine/woo_any_type ## Basic Information - **Project Name**: woo_any_type - **Description**: woo语言 官方类型转换类 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-16 - **Last Updated**: 2024-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README > bitmap is base on github.com/fogleman/gg # bitmap `cw_any_type` is a library let us get ease to use any type of data ![Stars](http://i.imgur.com/CylQIJt.png) ## Installation cwp install oshine/cw_any_type ## example ```lua local t = require('oshine.cw_any_type.anyType'):NewType('1325g34') print(t:end_with('g34') == true) print(t:begin_with('1325') == true) print(t:slice(0, 5) == '1325g') print(t:indexOf('2') == 2) print(json_encode(t:split('2'))) print(t:join('='):join('D'):toString() == '1325g34=D') local t = require('anyType'):NewType({'123'}) t:append({123}) print(t:json()) ```